<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view locale="ro">
		<f:loadBundle basename="bean.mesaje" var="msg"/>
		<h:form>
				<h:panelGrid border="1" columns="2">
					<h:outputText value="#{msg.nume}" style="color: #00FF40; font-size: 14px; font-family:; font-style: italic; line-height: normal"></h:outputText>
					<h:inputText  id="eroare"  value="#{loginBean.nume}" required="true" label="eroare">
					<f:validator validatorId="bean.MyValidator"/>
				</h:inputText>
					<h:outputText value="#{msg.password}"></h:outputText>
					<h:inputSecret  value="#{loginBean.parola}"></h:inputSecret>
					
					
				</h:panelGrid>
				
				<h:commandButton value="#{msg.login}" action="#{loginBean.goToPage}"></h:commandButton>
			</h:form>
<h:message for="eroare" id="errorMsg" showSummary="true" showDetail="false"></h:message>
			</f:view>
</body>
</html>